#ifndef SPEECHMODULETHREAD_H
#define SPEECHMODULETHREAD_H

#include <QObject>
#include <QThread>
#include <QDebug>
#include <QSerialPortInfo>
#include <QSerialPort>
#include <Experiment/ExperimentOperation.h>
#include <Connect/UdpClient.h>
#include <StaticProperties.h>
#include <QMediaPlayer>
#include <Experiment/ExpCommonMethod.h>

class speechModuleThread:public QObject
{
    Q_OBJECT;
public:
    explicit speechModuleThread(QObject *parent = nullptr);
    QSerialPort *serialPort;// 串口

    QThread thread;
    void serialclo();

public slots:

    void serialPortRead_Slot();
    void serialinfo();

private:
    UdpClient *udpClient;
};

#endif // SPEECHMODULETHREAD_H
